import React from 'react';

export default function RouterDemo() {
  return (
    <div>
      <div className="row">
        <div className="col-xs-offset-2 col-xs-8">
          <div className="page-header">
            <h2>React Router Demo</h2>
          </div>
        </div>
      </div>
      <div className="row">
        <div className="col-xs-2 col-xs-offset-2">
          <div className="list-group">
            <a className="list-group-item active" href="/about">About</a>
            <a className="list-group-item" href="/home">Home</a>
          </div>
        </div>
        <div className="col-xs-6">
          <div className="panel">
            <div className="panel-body">
              <h3>我是About的内容</h3>
            </div>
          </div>
        </div>
      </div>
    </div>

  )
}
